package com.cjkj.system.api.domain.request;

import feign.Param;

/**
 * 微信获取session请求参数类
 *
 * @author cjkj
 * @date 2024-08-30
 */
public class APIWechatSessionReq {
    /**
     * 小程序 appId
     */
    private String appid;
    /**
     * 小程序 appSecret
     */
    private String secret;
    /**
     * 登录时获取的 code，可通过wx.login获取
     */
    private String jsCode;
    /**
     * 授权类型，此处只需填写 authorization_code
     */
    private String grantType;

    @Param("appid")
    public String getAppid() {
        return appid;
    }

    public void setAppid(String appid) {
        this.appid = appid;
    }

    @Param("secret")
    public String getSecret() {
        return secret;
    }

    public void setSecret(String secret) {
        this.secret = secret;
    }

    @Param("js_code")
    public String getJsCode() {
        return jsCode;
    }

    public void setJsCode(String jsCode) {
        this.jsCode = jsCode;
    }

    @Param("grant_type")
    public String getGrantType() {
        return grantType;
    }

    public void setGrantType(String grantType) {
        this.grantType = grantType;
    }
}